package com.gpframework.module.wages.service;

import com.gpframework.module.wages.domain.GzAttendanceManagement;
import com.gpframework.module.wages.domain.req.GzAttendanceManagementUpdate;
import com.gpframework.module.wages.domain.vo.GzAttendanceManagementVo;
import com.baomidou.mybatisplus.extension.service.IService;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;

import java.util.Date;
import java.util.List;
/**
 * @ClassName GzAttendanceManagement
 * @Author gpframework
 * @Date 2024-01-19
 * @Version 1.0.0
 * @Description 考勤管理Service接口
 */
public interface IGzAttendanceManagementService extends IService<GzAttendanceManagement> {

    /**
     * @Description 查询列表返回VO 用于返回给前端的列表接口
     * @Author gpframework
     * @Date 2024-01-19
     * @Param [lqw]
     * @Return List<GzAttendanceManagementVo>
     */
    List<GzAttendanceManagementVo> listVo(QueryWrapper<GzAttendanceManagement> lqw);


    GzAttendanceManagementVo getVoById(Long id);

    void deleteByMonth(Date yearMonth);

    boolean edit(List<GzAttendanceManagementUpdate> list);

    String importListNote(List<GzAttendanceManagementVo> excelList, boolean updateSupport);

    List<GzAttendanceManagementVo> listVoed(QueryWrapper<GzAttendanceManagement> lqw);
}
